package com.huweilong.tingshu.view_object;

import com.huweilong.tingshu.data_object.TrackDO;
import lombok.Data;

/**
 * @author 是阿秋啊
 * @date 2022/07/21 09:57
 **/
@Data
// 只关注要显示的属性
public class ListTrackVO {
    public Integer tid;
    public String title;
    public Integer refCount;

    public ListTrackVO(TrackDO trackDO, int refCount) {
        this.tid = trackDO.tid;
        this.title = trackDO.title;
        this.refCount = refCount;
    }
}